added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBASPNETStripHtmlCode / Web.config
blob14f30eba55ceb962c7901c2aa8460311dae3aaff
1 <?xml version="1.0"?>
3 <!--
4   For more information on how to configure your ASP.NET application, please visit
5   http://go.microsoft.com/fwlink/?LinkId=169433
6   -->
8 <configuration>
9   <connectionStrings>
10     <add name="ApplicationServices"
11          connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
12          providerName="System.Data.SqlClient" />
13   </connectionStrings>
15   <system.web>
16     <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
17     <httpRuntime requestValidationMode="2.0"/>
19     <authentication mode="Forms">
20       <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
21     </authentication>
23     <membership>
24       <providers>
25         <clear/>
26         <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
27              enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
28              maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
29              applicationName="/" />
30       </providers>
31     </membership>
33     <profile>
34       <providers>
35         <clear/>
36         <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
37       </providers>
38     </profile>
40     <roleManager enabled="false">
41       <providers>
42         <clear/>
43         <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
44         <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
45       </providers>
46     </roleManager>
48   </system.web>
50   <system.webServer>
51      <modules runAllManagedModulesForAllRequests="true"/>
52   </system.webServer>
53 </configuration>